<?php
$this->breadcrumbs=array(
	'Attendances'=>array('index'),
	$model->getId(),
);

$this->menu=array(
	array('label'=>'Create Attendance', 'url'=>array('create')),
	array('label'=>'Update Attendance', 'url'=>array('update', 'id'=>$model->_id)),
	array('label'=>'Delete Attendance', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Attendance', 'url'=>array('index')),
);
?>

<h1>View Area #<?php echo $model->_id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
        '_id',
        array(
            'label'=>'Title',
            'type'=>'raw',
            'value'=> $model->getItemType()->getName(),
        ),
        'status',
        array(
            'label'=>'开始时间',
            'type'=>'raw',
            'value'=> date('Y-m-d', $model->start_time),
        ),
        array(
            'label'=>'结束时间',
            'type'=>'raw',
            'value'=> date('Y-m-d', $model->end_time),
        ),
		'ctime',
		'mtime',
	),
)); ?>